package cz.ctu.guiproject.client.manager;

import org.xml.sax.Attributes;

import android.view.View;

public interface JARManager {

	void setActivity(String key, Attributes attributes);
	// TODO mozny vznik problemu - pokazde volana nova instance
	View getView(String key, Attributes attributes);

	void setViewAttribute(String viewId, String attrName, String attrValue);

	// zohlednena verze instalovaneho JARu (to aby se vzdy dotahla ta
	// nejaktualnejsi z repository)
	String[] getInstalledComponents();

	/**
	 * Downloads all components from given urls
	 * 
	 * @param jarUrls
	 */
	void downloadComponents(String[] jarUrls);

}